home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Grolier Multimedia Encyclopedia 1998
/
1998 Grolier Multimedia Encyclopedia (Grolier Interactive)(1997).iso
/
Install GME98
/
Install GME98.rsrc
/
bin.rsrc_CDEF_1002_Picture Button.txt
< prev
next >
Wrap
Text File
|
1997-08-13
|
34KB
|
618 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 4344 ori.b D0, 0x44 /* 'D' */
00000006 4546 chk.w D2, D6
00000008 03EA 0000 bset [A2 + 0x0], D1
0000000C 0000 0000 ori.b D0, 0x0
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
00000014 4E71 nop
00000016 4E71 nop
00000018 6000 04F6 bra +0x4F8 /* 00000510 */
0000001C 4EFA 001E jmp [PC + 0x1E /* 0000003C */]
00000020 4EFA 002E jmp [PC + 0x2E /* 00000050 */]
fn00000024:
00000024 4EFA 003E jmp [PC + 0x3E /* 00000064 */]
00000028 4EFA 0056 jmp [PC + 0x56 /* 00000080 */]
0000002C 4EFA 0088 jmp [PC + 0x88 /* 000000B6 */]
00000030 4EFA 00A4 jmp [PC + 0xA4 /* 000000D6 */]
00000034 4EFA 00C2 jmp [PC + 0xC2 /* 000000F8 */]
00000038 4EFA 00DE jmp [PC + 0xDE /* 00000118 */]
label0000003C:
0000003C 205F movea.l A0, [A7]+
0000003E 3218 move.w D1, [A0]+
label00000040:
00000040 3418 move.w D2, [A0]+
00000042 B058 cmp.w D0, [A0]+
00000044 57C9 FFFA dbeq D1, -0x8 /* 00000040 */
00000048 4A42 tst.w D2
label0000004A:
0000004A 67FE beq -0x0 /* 0000004A */
0000004C 4EF0 20FC jmp [A0 + D2.w - 0x4]
label00000050:
00000050 205F movea.l A0, [A7]+
00000052 3218 move.w D1, [A0]+
label00000054:
00000054 3418 move.w D2, [A0]+
00000056 B098 cmp.l D0, [A0]+
00000058 57C9 FFFA dbeq D1, -0x8 /* 00000054 */
0000005C 4A42 tst.w D2
label0000005E:
0000005E 67FE beq -0x0 /* 0000005E */
00000060 4EF0 20FA jmp [A0 + D2.w - 0x6]
label00000064:
00000064 205F movea.l A0, [A7]+
00000066 3218 move.w D1, [A0]+
00000068 3418 move.w D2, [A0]+
0000006A B042 cmp.w D0, D2
0000006C 6E0A bgt +0xC /* 00000078 */
0000006E 9041 sub.w D0, D1
00000070 6D06 blt +0x8 /* 00000078 */
00000072 D040 add.w D0, D0
00000074 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000078:
00000078 3010 move.w D0, [A0]
label0000007A:
0000007A 67FE beq -0x0 /* 0000007A */
0000007C 4EF0 0000 jmp [A0 + D0.w]
label00000080:
00000080 202F 0004 move.l D0, [A7 + 0x4]
00000084 2F41 0004 move.l [A7 + 0x4], D1
00000088 222F 0008 move.l D1, [A7 + 0x8]
0000008C 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000090 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00000094 2400 move.l D2, D0
00000096 2601 move.l D3, D1
00000098 4842 swap.w D2
0000009A C4C3 mulu.w D2, D3
0000009C 2800 move.l D4, D0
0000009E 2A01 move.l D5, D1
000000A0 4845 swap.w D5
000000A2 C8C5 mulu.w D4, D5
000000A4 D444 add.w D2, D4
000000A6 4842 swap.w D2
000000A8 4242 clr.w D2
000000AA C0C1 mulu.w D0, D1
000000AC D082 add.l D0, D2
000000AE 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000000B2 221F move.l D1, [A7]+
000000B4 4E75 rts
label000000B6:
000000B6 202F 0004 move.l D0, [A7 + 0x4]
000000BA 2F41 0004 move.l [A7 + 0x4], D1
000000BE 222F 0008 move.l D1, [A7 + 0x8]
000000C2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000C6 48E7 3100 movem.l -[A7], D2,D3,D7
000000CA 4EBA 009C jsr [PC + 0x9C /* 00000168 */]
000000CE 4CDF 008C movem.l D2,D3,D7, [A7]+
000000D2 221F move.l D1, [A7]+
000000D4 4E75 rts
label000000D6:
000000D6 202F 0004 move.l D0, [A7 + 0x4]
000000DA 2F41 0004 move.l [A7 + 0x4], D1
000000DE 222F 0008 move.l D1, [A7 + 0x8]
000000E2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000E6 48E7 3100 movem.l -[A7], D2,D3,D7
000000EA 4EBA 007C jsr [PC + 0x7C /* 00000168 */]
000000EE 2001 move.l D0, D1
000000F0 4CDF 008C movem.l D2,D3,D7, [A7]+
000000F4 221F move.l D1, [A7]+
000000F6 4E75 rts
label000000F8:
000000F8 202F 0004 move.l D0, [A7 + 0x4]
000000FC 2F41 0004 move.l [A7 + 0x4], D1
00000100 222F 0008 move.l D1, [A7 + 0x8]
00000104 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000108 48E7 3100 movem.l -[A7], D2,D3,D7
0000010C 4EBA 002C jsr [PC + 0x2C /* 0000013A */]
00000110 4CDF 008C movem.l D2,D3,D7, [A7]+
00000114 221F move.l D1, [A7]+
00000116 4E75 rts
label00000118:
00000118 202F 0004 move.l D0, [A7 + 0x4]
0000011C 2F41 0004 move.l [A7 + 0x4], D1
00000120 222F 0008 move.l D1, [A7 + 0x8]
00000124 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000128 48E7 3100 movem.l -[A7], D2,D3,D7
0000012C 4EBA 000C jsr [PC + 0xC /* 0000013A */]
00000130 2001 move.l D0, D1
00000132 4CDF 008C movem.l D2,D3,D7, [A7]+
00000136 221F move.l D1, [A7]+
00000138 4E75 rts
fn0000013A:
0000013A 4A80 tst.l D0
0000013C 6A1C bpl +0x1E /* 0000015A */
0000013E 4A81 tst.l D1
00000140 6A0C bpl +0xE /* 0000014E */
00000142 4480 neg.l D0
00000144 4481 neg.l D1
00000146 4EBA 0020 jsr [PC + 0x20 /* 00000168 */]
0000014A 4481 neg.l D1
0000014C 4E75 rts
label0000014E:
0000014E 4480 neg.l D0
00000150 4EBA 0016 jsr [PC + 0x16 /* 00000168 */]
00000154 4480 neg.l D0
00000156 4481 neg.l D1
00000158 4E75 rts
label0000015A:
0000015A 4A81 tst.l D1
0000015C 6A0A bpl +0xC /* 00000168 */
0000015E 4481 neg.l D1
00000160 4EBA 0006 jsr [PC + 0x6 /* 00000168 */]
00000164 4480 neg.l D0
00000166 4E75 rts
fn00000168:
00000168 2E3C 0000 FFFF move.l D7, 0xFFFF
0000016E B280 cmp.l D1, D0
00000170 6306 bls +0x8 /* 00000178 */
00000172 2200 move.l D1, D0
00000174 7000 moveq.l D0, 0x00
00000176 4E75 rts
label00000178:
00000178 B087 cmp.l D0, D7
0000017A 620C bhi +0xE /* 00000188 */
0000017C 80C1 divu.w D0, D1
0000017E 4840 swap.w D0
00000180 3200 move.w D1, D0
00000182 4240 clr.w D0
00000184 4840 swap.w D0
00000186 4E75 rts
label00000188:
00000188 B287 cmp.l D1, D7
0000018A 621A bhi +0x1C /* 000001A6 */
0000018C 2E00 move.l D7, D0
0000018E 4240 clr.w D0
00000190 4840 swap.w D0
00000192 80C1 divu.w D0, D1
00000194 4840 swap.w D0
00000196 4847 swap.w D7
00000198 3E00 move.w D7, D0
0000019A 4847 swap.w D7
0000019C 8EC1 divu.w D7, D1
0000019E 3007 move.w D0, D7
000001A0 4847 swap.w D7
000001A2 3207 move.w D1, D7
000001A4 4E75 rts
label000001A6:
000001A6 2400 move.l D2, D0
000001A8 2601 move.l D3, D1
label000001AA:
000001AA E288 lsr D0, 1
000001AC E289 lsr D1, 1
000001AE B287 cmp.l D1, D7
000001B0 62F8 bhi -0x6 /* 000001AA */
000001B2 80C1 divu.w D0, D1
000001B4 C087 and.l D0, D7
label000001B6:
000001B6 3203 move.w D1, D3
000001B8 C2C0 mulu.w D1, D0
000001BA 2E03 move.l D7, D3
000001BC 4847 swap.w D7
000001BE CEC0 mulu.w D7, D0
000001C0 4847 swap.w D7
000001C2 D287 add.l D1, D7
000001C4 6508 bcs +0xA /* 000001CE */
000001C6 9282 sub.l D1, D2
000001C8 6204 bhi +0x6 /* 000001CE */
000001CA 4481 neg.l D1
000001CC 4E75 rts
label000001CE:
000001CE 5340 subq.w D0, 1
000001D0 60E4 bra -0x1A /* 000001B6 */
000001D2 0050 0001 ori.w [A0], 0x1
fn000001D6:
000001D6 6104 bsr +0x6 /* 000001DC */
000001D8 0000 0000 ori.b D0, 0x0
fn000001DC:
000001DC 225F movea.l A1, [A7]+
000001DE 4E75 rts
fn000001E0:
000001E0 4E56 0000 link A6, 0
000001E4 206E 0008 movea.l A0, [A6 + 0x8]
000001E8 2050 movea.l A0, [A0]
000001EA 42A8 0020 clr.l [A0 + 0x20]
000001EE 7000 moveq.l D0, 0x00
000001F0 4E5E unlink A6
000001F2 4E75 rts
fn000001F4:
000001F4 4E56 0000 link A6, 0
000001F8 7000 moveq.l D0, 0x00
000001FA 4E5E unlink A6
000001FC 4E75 rts
fn000001FE:
000001FE 4E56 FEAE link A6, -0x0152
00000202 206E 0008 movea.l A0, [A6 + 0x8]
00000206 2050 movea.l A0, [A0]
00000208 3D68 0012 FFFE move.w [A6 - 0x2], [A0 + 0x12]
0000020E 206E 0008 movea.l A0, [A6 + 0x8]
00000212 2050 movea.l A0, [A0]
00000214 7000 moveq.l D0, 0x00
00000216 1028 0011 move.b D0, [A0 + 0x11]
0000021A 3D40 FFFC move.w [A6 - 0x4], D0
0000021E 206E 0008 movea.l A0, [A6 + 0x8]
00000222 2050 movea.l A0, [A0]
00000224 2D68 0004 FFF8 move.l [A6 - 0x8], [A0 + 0x4]
0000022A 206E 0008 movea.l A0, [A6 + 0x8]
0000022E 2050 movea.l A0, [A0]
00000230 7000 moveq.l D0, 0x00
00000232 1028 0010 move.b D0, [A0 + 0x10]
00000236 4A40 tst.w D0
00000238 6606 bne +0x8 /* 00000240 */
0000023A 7000 moveq.l D0, 0x00
0000023C 6000 01EE bra +0x1F0 /* 0000042C */
label00000240:
00000240 0C6E 0081 000E cmpi.w [A6 + 0xE], 0x81
00000246 6606 bne +0x8 /* 0000024E */
00000248 7000 moveq.l D0, 0x00
0000024A 6000 01E0 bra +0x1E2 /* 0000042C */
label0000024E:
0000024E 486E FFEC pea.l [A6 - 0x14]
00000252 A874 syscall GetPort
00000254 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000258 A873 syscall SetPort
0000025A 42A7 clr.l -[A7]
0000025C A8D8 syscall NewRgn
0000025E 205F movea.l A0, [A7]+
00000260 2D48 FFE8 move.l [A6 - 0x18], A0
00000264 4AAE FFE8 tst.l [A6 - 0x18]
00000268 671C beq +0x1E /* 00000286 */
0000026A 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000026E A87A syscall GetClip
00000270 206E 0008 movea.l A0, [A6 + 0x8]
00000274 2050 movea.l A0, [A0]
00000276 43EE FFDC lea.l A1, [A6 - 0x24]
0000027A 5088 addq.l A0, 8
0000027C 22D8 move.l [A1]+, [A0]+
0000027E 22D8 move.l [A1]+, [A0]+
00000280 486E FFDC pea.l [A6 - 0x24]
00000284 A87B syscall ClipRect
label00000286:
00000286 0C6E 0081 000E cmpi.w [A6 + 0xE], 0x81
0000028C 6616 bne +0x18 /* 000002A4 */
0000028E 206E 0008 movea.l A0, [A6 + 0x8]
00000292 2050 movea.l A0, [A0]
00000294 43EE FEC4 lea.l A1, [A6 - 0x13C]
00000298 5088 addq.l A0, 8
0000029A 22D8 move.l [A1]+, [A0]+
0000029C 22D8 move.l [A1]+, [A0]+
0000029E 486E FEC4 pea.l [A6 - 0x13C]
000002A2 A8A3 syscall EraseRect
label000002A4:
000002A4 3F3C 0001 move.w -[A7], 0x1
000002A8 A887 syscall TextFont
000002AA 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000002AE A88A syscall TextSize
000002B0 4267 clr.w -[A7]
000002B2 A888 syscall TextFace
000002B4 486E FFCC pea.l [A6 - 0x34]
000002B8 A88B syscall GetFontInfo
000002BA 206E 0008 movea.l A0, [A6 + 0x8]
000002BE 2050 movea.l A0, [A0]
000002C0 43EE FFDC lea.l A1, [A6 - 0x24]
000002C4 5088 addq.l A0, 8
000002C6 22D8 move.l [A1]+, [A0]+
000002C8 22D8 move.l [A1]+, [A0]+
000002CA 41EE FFD4 lea.l A0, [A6 - 0x2C]
000002CE 5189 subq.l A1, 8
000002D0 20D9 move.l [A0]+, [A1]+
000002D2 20D9 move.l [A0]+, [A1]+
000002D4 206E 0008 movea.l A0, [A6 + 0x8]
000002D8 2050 movea.l A0, [A0]
000002DA 4868 0028 pea.l [A0 + 0x28]
000002DE 486E FECC pea.l [A6 - 0x134]
000002E2 4878 0100 push.l 0x100
000002E6 4EBA 0356 jsr [PC + 0x356 /* 0000063E */]
000002EA 42A7 clr.l -[A7]
000002EC 4879 5049 4354 push.l 0x50494354 /* 'PICT' */
000002F2 486E FECC pea.l [A6 - 0x134]
000002F6 A9A1 syscall GetNamedResource
000002F8 205F movea.l A0, [A7]+
000002FA 2D48 FFE4 move.l [A6 - 0x1C], A0
000002FE 2008 move.l D0, A0
00000300 6700 006E beq +0x70 /* 00000370 */
00000304 206E FFE4 movea.l A0, [A6 - 0x1C]
00000308 2050 movea.l A0, [A0]
0000030A 43EE FFD4 lea.l A1, [A6 - 0x2C]
0000030E 5488 addq.l A0, 2
00000310 22D8 move.l [A1]+, [A0]+
00000312 22D8 move.l [A1]+, [A0]+
00000314 302E FFD8 move.w D0, [A6 - 0x28]
00000318 906E FFD4 sub.w D0, [A6 - 0x2C]
0000031C 3D40 FFF6 move.w [A6 - 0xA], D0
00000320 302E FFDA move.w D0, [A6 - 0x26]
00000324 906E FFD6 sub.w D0, [A6 - 0x2A]
00000328 3D40 FFF4 move.w [A6 - 0xC], D0
0000032C 3D6E FFDC FFD4 move.w [A6 - 0x2C], [A6 - 0x24]
00000332 302E FFD4 move.w D0, [A6 - 0x2C]
00000336 D06E FFF6 add.w D0, [A6 - 0xA]
0000033A 3D40 FFD8 move.w [A6 - 0x28], D0
0000033E 3D6E FFDE FFD6 move.w [A6 - 0x2A], [A6 - 0x22]
00000344 302E FFD6 move.w D0, [A6 - 0x2A]
00000348 D06E FFF4 add.w D0, [A6 - 0xC]
0000034C 3D40 FFDA move.w [A6 - 0x26], D0
00000350 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
00000354 486E FFD4 pea.l [A6 - 0x2C]
00000358 A8F6 syscall DrawPicture
0000035A 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1
00000360 660E bne +0x10 /* 00000370 */
00000362 486E FFD4 pea.l [A6 - 0x2C]
00000366 3F3C 0004 move.w -[A7], 0x4
0000036A 3F3C 0004 move.w -[A7], 0x4
0000036E A8B3 syscall InvertRoundRect
label00000370:
00000370 302E FFDA move.w D0, [A6 - 0x26]
00000374 5A40 addq.w D0, 5
00000376 3D40 FFF2 move.w [A6 - 0xE], D0
0000037A 302E FFD8 move.w D0, [A6 - 0x28]
0000037E 906E FFD4 sub.w D0, [A6 - 0x2C]
00000382 E240 asr D0.w, 1
00000384 D06E FFD4 add.w D0, [A6 - 0x2C]
00000388 322E FFCC move.w D1, [A6 - 0x34]
0000038C D26E FFCE add.w D1, [A6 - 0x32]
00000390 D26E FFD2 add.w D1, [A6 - 0x2E]
00000394 E241 asr D1.w, 1
00000396 D041 add.w D0, D1
00000398 906E FFCE sub.w D0, [A6 - 0x32]
0000039C 3D40 FFF0 move.w [A6 - 0x10], D0
000003A0 3F2E FFF2 move.w -[A7], [A6 - 0xE]
000003A4 3F2E FFF0 move.w -[A7], [A6 - 0x10]
000003A8 A893 syscall MoveTo
000003AA 486E FECC pea.l [A6 - 0x134]
000003AE A884 syscall DrawString
000003B0 0C6E 00FF FFFC cmpi.w [A6 - 0x4], 0xFF
000003B6 664E bne +0x50 /* 00000406 */
000003B8 486E FEAE pea.l [A6 - 0x152]
000003BC A898 syscall GetPenState
000003BE 42A7 clr.l -[A7]
000003C0 4879 5041 5420 push.l 0x50415420 /* 'PAT ' */
000003C6 3F3C 03EA move.w -[A7], 0x3EA
000003CA A9A0 syscall GetResource
000003CC 205F movea.l A0, [A7]+
000003CE 2D48 FEC8 move.l [A6 - 0x138], A0
000003D2 2008 move.l D0, A0
000003D4 670A beq +0xC /* 000003E0 */
000003D6 206E FEC8 movea.l A0, [A6 - 0x138]
000003DA 2F10 move.l -[A7], [A0]
000003DC A89D syscall PenPat
000003DE 6014 bra +0x16 /* 000003F4 */
label000003E0:
000003E0 486E FEC0 pea.l [A6 - 0x140]
000003E4 4267 clr.w -[A7]
000003E6 3F3C 0019 move.w -[A7], 0x19
000003EA 4EBA 0260 jsr [PC + 0x260 /* 0000064C */]
000003EE 486E FEC0 pea.l [A6 - 0x140]
000003F2 A89D syscall PenPat
label000003F4:
000003F4 3F3C 000B move.w -[A7], 0xB
000003F8 A89C syscall PenMode
000003FA 486E FFDC pea.l [A6 - 0x24]
000003FE A8A2 syscall PaintRect
00000400 486E FEAE pea.l [A6 - 0x152]
00000404 A899 syscall SetPenState
label00000406:
00000406 4267 clr.w -[A7]
00000408 A887 syscall TextFont
0000040A 4267 clr.w -[A7]
0000040C A88A syscall TextSize
0000040E 4267 clr.w -[A7]
00000410 A888 syscall TextFace
00000412 4AAE FFE8 tst.l [A6 - 0x18]
00000416 670C beq +0xE /* 00000424 */
00000418 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000041C A879 syscall SetClip
0000041E 2F2E FFE8 move.l -[A7], [A6 - 0x18]
00000422 A8D9 syscall DisposRgn/DisposeRgn
label00000424:
00000424 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000428 A873 syscall SetPort
0000042A 7000 moveq.l D0, 0x00
label0000042C:
0000042C 4E5E unlink A6
0000042E 4E75 rts
fn00000430:
00000430 4E56 FEE8 link A6, -0x0118
00000434 206E 0008 movea.l A0, [A6 + 0x8]
00000438 2050 movea.l A0, [A0]
0000043A 7000 moveq.l D0, 0x00
0000043C 1028 0011 move.b D0, [A0 + 0x11]
00000440 0C40 00FF cmpi.w D0, 0xFF
00000444 6700 00C4 beq +0xC6 /* 0000050A */
00000448 206E 0008 movea.l A0, [A6 + 0x8]
0000044C 2050 movea.l A0, [A0]
0000044E 7000 moveq.l D0, 0x00
00000450 1028 0010 move.b D0, [A0 + 0x10]
00000454 4A40 tst.w D0
00000456 6700 00B2 beq +0xB4 /* 0000050A */
0000045A 206E 0008 movea.l A0, [A6 + 0x8]
0000045E 2050 movea.l A0, [A0]
00000460 43EE FFE8 lea.l A1, [A6 - 0x18]
00000464 5088 addq.l A0, 8
00000466 22D8 move.l [A1]+, [A0]+
00000468 22D8 move.l [A1]+, [A0]+
0000046A 41EE FFF0 lea.l A0, [A6 - 0x10]
0000046E 5189 subq.l A1, 8
00000470 20D9 move.l [A0]+, [A1]+
00000472 20D9 move.l [A0]+, [A1]+
00000474 206E 0008 movea.l A0, [A6 + 0x8]
00000478 2050 movea.l A0, [A0]
0000047A 4868 0028 pea.l [A0 + 0x28]
0000047E 486E FEE8 pea.l [A6 - 0x118]
00000482 4878 0100 push.l 0x100
00000486 4EBA 01B6 jsr [PC + 0x1B6 /* 0000063E */]
0000048A 42A7 clr.l -[A7]
0000048C 4879 5049 4354 push.l 0x50494354 /* 'PICT' */
00000492 486E FEE8 pea.l [A6 - 0x118]
00000496 A9A1 syscall GetNamedResource
00000498 205F movea.l A0, [A7]+
0000049A 2D48 FFF8 move.l [A6 - 0x8], A0
0000049E 2008 move.l D0, A0
000004A0 674C beq +0x4E /* 000004EE */
000004A2 206E FFF8 movea.l A0, [A6 - 0x8]
000004A6 2050 movea.l A0, [A0]
000004A8 43EE FFF0 lea.l A1, [A6 - 0x10]
000004AC 5488 addq.l A0, 2
000004AE 22D8 move.l [A1]+, [A0]+
000004B0 22D8 move.l [A1]+, [A0]+
000004B2 302E FFF4 move.w D0, [A6 - 0xC]
000004B6 906E FFF0 sub.w D0, [A6 - 0x10]
000004BA 3D40 FFFE move.w [A6 - 0x2], D0
000004BE 302E FFF6 move.w D0, [A6 - 0xA]
000004C2 906E FFF2 sub.w D0, [A6 - 0xE]
000004C6 3D40 FFFC move.w [A6 - 0x4], D0
000004CA 3D6E FFE8 FFF0 move.w [A6 - 0x10], [A6 - 0x18]
000004D0 302E FFF0 move.w D0, [A6 - 0x10]
000004D4 D06E FFFE add.w D0, [A6 - 0x2]
000004D8 3D40 FFF4 move.w [A6 - 0xC], D0
000004DC 3D6E FFEA FFF2 move.w [A6 - 0xE], [A6 - 0x16]
000004E2 302E FFF2 move.w D0, [A6 - 0xE]
000004E6 D06E FFFC add.w D0, [A6 - 0x4]
000004EA 3D40 FFF6 move.w [A6 - 0xA], D0
label000004EE:
000004EE 4267 clr.w -[A7]
000004F0 2F2E 000E move.l -[A7], [A6 + 0xE]
000004F4 486E FFF0 pea.l [A6 - 0x10]
000004F8 A8AD syscall PtInRect
000004FA 101F move.b D0, [A7]+
000004FC 4A00 tst.b D0
000004FE 6604 bne +0x6 /* 00000504 */
00000500 7000 moveq.l D0, 0x00
00000502 6002 bra +0x4 /* 00000506 */
label00000504:
00000504 7001 moveq.l D0, 0x01
label00000506:
00000506 48C0 ext.l D0
00000508 6002 bra +0x4 /* 0000050C */
label0000050A:
0000050A 7000 moveq.l D0, 0x00
label0000050C:
0000050C 4E5E unlink A6
0000050E 4E75 rts
label00000510:
00000510 4E56 FFF4 link A6, -0x000C
00000514 4EBA FCC0 jsr [PC - 0x340 /* 000001D6 */]
00000518 2288 move.l [A1], A0
0000051A 2F0C move.l -[A7], A4
0000051C 4EBA FCB8 jsr [PC - 0x348 /* 000001D6 */]
00000520 2851 movea.l A4, [A1]
00000522 302E 000C move.w D0, [A6 + 0xC]
00000526 4EBA FAFC jsr [PC - 0x504 /* 00000024 */]
0000052A 0000 000B ori.b D0, 0xB
0000052E 00FA 0018 ori.? [PC + 0x18 /* 00000548 */], 0xFFFFFFFFFFFFFFFF
00000532 0038 0052 0086 ori.b [0x00000086], 0x52 /* 'R' */
00000538 00F4 00F2 ori.? [A4 + D0.w - 0x14], 0xFFFFFFFFFFFFFFFF
0000053C 00F0 00EE ori.? [A0 + D0.w - 0x18], 0xFFFFFFFFFFFFFFFF
00000540 0090 00E6 00AC ori.l [A0], 0xE600AC
00000546 00D6 ori.? [A6], 0xFFFFFFFFFFFFFFFF
00000548 203C 0000 FFFF move.l D0, 0xFFFF
0000054E C0AE 0008 and.l D0, [A6 + 0x8]
00000552 3F00 move.w -[A7], D0
00000554 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000558 2F2E 000E move.l -[A7], [A6 + 0xE]
0000055C 4EBA FCA0 jsr [PC - 0x360 /* 000001FE */]
00000560 508F addq.l A7, 8
00000562 2D40 FFFC move.l [A6 - 0x4], D0
00000566 6000 00C4 bra +0xC6 /* 0000062C */
0000056A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000056E 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000572 2F2E 000E move.l -[A7], [A6 + 0xE]
00000576 4EBA FEB8 jsr [PC - 0x148 /* 00000430 */]
0000057A 4FEF 000A lea.l A7, [A7 + 0xA]
0000057E 2D40 FFFC move.l [A6 - 0x4], D0
00000582 6000 00A8 bra +0xAA /* 0000062C */
00000586 206E 000E movea.l A0, [A6 + 0xE]
0000058A 2050 movea.l A0, [A0]
0000058C 43EE FFF4 lea.l A1, [A6 - 0xC]
00000590 5088 addq.l A0, 8
00000592 22D8 move.l [A1]+, [A0]+
00000594 22D8 move.l [A1]+, [A0]+
00000596 203C 7FFF FFFF move.l D0, 0x7FFFFFFF
0000059C C0AE 0008 and.l D0, [A6 + 0x8]
000005A0 2F00 move.l -[A7], D0
000005A2 3F2E FFF6 move.w -[A7], [A6 - 0xA]
000005A6 3F2E FFF4 move.w -[A7], [A6 - 0xC]
000005AA 3F2E FFFA move.w -[A7], [A6 - 0x6]
000005AE 3F2E FFF8 move.w -[A7], [A6 - 0x8]
000005B2 A8DE syscall SetRecRgn
000005B4 42AE FFFC clr.l [A6 - 0x4]
000005B8 6000 0072 bra +0x74 /* 0000062C */
000005BC 3F2E 0012 move.w -[A7], [A6 + 0x12]
000005C0 2F2E 000E move.l -[A7], [A6 + 0xE]
000005C4 4EBA FC1A jsr [PC - 0x3E6 /* 000001E0 */]
000005C8 5C8F addq.l A7, 6
000005CA 2D40 FFFC move.l [A6 - 0x4], D0
000005CE 605C bra +0x5E /* 0000062C */
000005D0 203C 0000 FFFF move.l D0, 0xFFFF
000005D6 C0AE 0008 and.l D0, [A6 + 0x8]
000005DA 3F00 move.w -[A7], D0
000005DC 3F2E 0012 move.w -[A7], [A6 + 0x12]
000005E0 2F2E 000E move.l -[A7], [A6 + 0xE]
000005E4 4EBA FC0E jsr [PC - 0x3F2 /* 000001F4 */]
000005E8 508F addq.l A7, 8
000005EA 2D40 FFFC move.l [A6 - 0x4], D0
000005EE 603C bra +0x3E /* 0000062C */
000005F0 206E 000E movea.l A0, [A6 + 0xE]
000005F4 2050 movea.l A0, [A0]
000005F6 43EE FFF4 lea.l A1, [A6 - 0xC]
000005FA 5088 addq.l A0, 8
000005FC 22D8 move.l [A1]+, [A0]+
000005FE 22D8 move.l [A1]+, [A0]+
00000600 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000604 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000608 3F2E FFF4 move.w -[A7], [A6 - 0xC]
0000060C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00000610 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000614 A8DE syscall SetRecRgn
00000616 42AE FFFC clr.l [A6 - 0x4]
0000061A 6010 bra +0x12 /* 0000062C */
0000061C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000620 A8DD syscall SetEmptyRgn
00000622 42AE FFFC clr.l [A6 - 0x4]
00000626 6004 bra +0x6 /* 0000062C */
00000628 42AE FFFC clr.l [A6 - 0x4]
label0000062C:
0000062C 285F movea.l A4, [A7]+
0000062E 202E FFFC move.l D0, [A6 - 0x4]
00000632 4E5E unlink A6
00000634 205F movea.l A0, [A7]+
00000636 4FEF 000C lea.l A7, [A7 + 0xC]
0000063A 2E80 move.l [A7], D0
0000063C 4ED0 jmp [A0]
fn0000063E:
0000063E 221F move.l D1, [A7]+
00000640 201F move.l D0, [A7]+
00000642 225F movea.l A1, [A7]+
00000644 205F movea.l A0, [A7]+
00000646 A02E syscall BlockMove/BlockMoveData
00000648 2241 movea.l A1, D1
0000064A 4ED1 jmp [A1]
fn0000064C:
0000064C 4E56 0000 link A6, 0
00000650 594F subq.w A7, 4
00000652 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00000658 3F2E 000A move.w -[A7], [A6 + 0xA]
0000065C A9A0 syscall GetResource
0000065E 226E 000C movea.l A1, [A6 + 0xC]
00000662 201F move.l D0, [A7]+
00000664 671C beq +0x1E /* 00000682 */
00000666 2040 movea.l A0, D0
00000668 2050 movea.l A0, [A0]
0000066A 3018 move.w D0, [A0]+
0000066C 322E 0008 move.w D1, [A6 + 0x8]
00000670 6710 beq +0x12 /* 00000682 */
00000672 B240 cmp.w D1, D0
00000674 620C bhi +0xE /* 00000682 */
label00000676:
00000676 5341 subq.w D1, 1
00000678 6704 beq +0x6 /* 0000067E */
0000067A 5048 addq.w A0, 8
0000067C 60F8 bra -0x6 /* 00000676 */
label0000067E:
0000067E 22D8 move.l [A1]+, [A0]+
00000680 2290 move.l [A1], [A0]
label00000682:
00000682 4E5E unlink A6
00000684 205F movea.l A0, [A7]+
00000686 508F addq.l A7, 8
00000688 4ED0 jmp [A0]